import Xsync from '@/utils/Xsync';
import { portPrefix } from '@/config';

// 测试接口
export const getTest = params =>
    Xsync({
        method: 'GET',
        url: portPrefix,
        params
    });

// 下载文件
export const download = params =>
    Xsync({
        method: 'GET',
        url: `${portPrefix}/file/download`,
        params
    });
